package com.lzy.mall.product.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.lzy.mall.product.entity.PmsCategory;
import lombok.*;

import java.util.List;

/**
 * @author lzy
 * @date 2021/8/26 9:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class PmsCategoryVo extends PmsCategory {

    //子父目录
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<PmsCategoryVo> children;
}
